import { defineStore } from "pinia";

export const userStore = defineStore('user',{
    state:()=>({
        userInfo:{
            name:'董鑫',
        }
    }),
    actions:{
        changeUserInfo(userInfo){
            this.userInfo = {...userInfo};
        }
    },
    getters:{
    },
    plugins:{}
})